import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { RouterProvider } from "react-router/dom";
import { Provider } from "react-redux";
import {ErrorBoundary} from "react-error-boundary";
import store from "@/store";
import "./index.css";
import "@/assets/iconfont/iconfont.css";
import router from "./routes.js";

createRoot(document.getElementById("root")).render(
    <StrictMode>
      <Provider store={store}>
        <RouterProvider router={router}></RouterProvider>
      </Provider>
    </StrictMode>
);
